#import <UIKit/UIKit.h>
#import "MainViewControler.h"
#import "Constant.h"
@interface CMainDetegate : NSObject<UIApplicationDelegate>
{
	@private
	UIWindow *iWindow;
	NSTimer	*iTimer;
	CMainViewControler *iViewControler;
	CMainViewControler *iFormiViewControler;
	CGRect iRect;
	UIActivityIndicatorView *iIndicatorView;
	UINavigationController *iNavControler;
}
-(void)onTimer;
-(void)SwitchView:(UIViewController*) aCurrentView ComingView:(UIViewController*) aComingView;
-(void)HandleSwitchViewMessage:(NSNotification *)aUserInfo;
-(void) HandleCustomMessageMainThread:(NSNotification *)notify;
-(void)HandleBackViewMessage;
-(void)HandleBackFormViewMessage;
@end
